package com.coding.service;

import com.coding.base.pojo.BaseModel;
import com.coding.base.pojo.PageQueryModel;

/**
 * (Classwith)表服务接口
 *
 * @author makejava
 * @since 2020-07-31 14:37:49
 */
public interface ClasswithService {
    //查询用户加入班级
    void queryallbyuser_id(int user_id, PageQueryModel pageQueryModel, BaseModel baseModel) throws Exception;
    //查询老师加入班级
    void queryAllByUserId(int user_id, PageQueryModel pageQueryModel, BaseModel baseModel) throws Exception;
    //加入班级
    void joinclass(int user_id, int class_id, BaseModel baseModel) throws Exception;

    //退出班级
    void quitclass(int user_id, int clas_id, BaseModel baseModel) throws Exception;

}